﻿//using System;
//using System.Collections.Generic;
//using System.IO;
//using System.Xml.Serialization;
//using System.Linq;
//using System.Text;

//using Microsoft.VisualStudio.TestTools.UnitTesting;

//using Pibby.Core;


//namespace Pibby.Core.Tests
//{
//    [TestClass]
//    public class PodcastTests
//    {
//        [TestMethod]
//        public void SafeNameCanBeUsedInFileSystem()
//        {
//            Podcast p = new Podcast("Our Podcast: It's fantastic.com", new Uri("http://fantastic.com"));

//            Assert.AreEqual("Our Podcast It's Fantastic Com", p.SafeName);
//        }

//        [TestMethod]
//        public void WhuffieCanBeUpdated()
//        {
//            Podcast p = new Podcast("Our Podcast: It's fantastic.com", new Uri("http://fantastic.com"));

//            Assert.AreEqual(0, p.Whuffie.Score);

//            p.Whuffie.Esteem();
//            Assert.AreEqual(1, p.Whuffie.Score);

//            p.Whuffie.Esteem(99);
//            Assert.AreEqual(100, p.Whuffie.Score);

//            p.Whuffie.Expend(50);
//            Assert.AreEqual(50, p.Whuffie.Score);

//            p.Whuffie.Expend(60);
//            Assert.AreEqual(0, p.Whuffie.Score);
//        }

//    }
//}
